home *** CD-ROM | disk | FTP | other *** search
/ L' Effet Pommier 3 / L'Effet Pommier - Volume 03.iso / Communication / HTMLedit173-ppc / HTML.edit 1.7.3 (ppc) / HTML.edit 1.7.3 (ppc).rsrc / TEXT_5463_Paragraph.txt < prev    next >
Text File  |  1996-01-15  |  2KB  |  39 lines

  1.  
  2. Paragraph
  3.  
  4. While word processors and text editors use a return character (and/or a line feed character, depending on computer platform), they are ignored in HTML, which uses the <P> element to designate a paragraph break.
  5.  
  6. In order to gain greater compatibity with SGML, in HTML 2.0 usage the <P> element becomes a container  (such as <B>bold</B>) through use of a closing </P> tag. While this is recommended usage, it is optional:
  7.  
  8.    <P>This is a paragraph.</P>   [recommended usage]
  9.  
  10. Note that <P> tags should designate the beginning of a paragraph, rather than an end, as in
  11.  
  12.    <P>This is a paragraph.       [acceptable usage]
  13.  
  14. not
  15.  
  16.    This is a paragraph.<P>       [deprecated usage]
  17.  
  18. Since HTML browsers ignore white space (simplifying it to a single space) or non-HTML line breaks, use <BR> to insert a line break (which retains the current HTML format) or <P></P> for a new paragraph.
  19.  
  20. Usage
  21. HTML.edit uses the Option and Shift keys to modify entry of paragraph and line break tags, as shown in the following table:
  22.  
  23.   Code             Description                  Type this to insert:
  24.   <BR>      Line Break                    Shift-Return
  25.   <P>       Paragraph                    Option-Return
  26.   <P></P>   HTML 2.0 Paragraph    Shift-Option-Return
  27.  
  28. Note that checking the HTML 2.0 Returns checkbox on the Preferences card swaps usage of the </P> tag between Option-Return and Option-Shift-Return. This is also shown in the table on the Preferences card.
  29.  
  30. If upon pressing the keystroke to create a new HTML paragraph, the cursor precedes a </P> closing tag, HTML.edit senses this and creates a new paragraph, placing the insertion point appropriately in a new paragraph container.
  31.  
  32. Simply begin your first paragraph by typing Option-Return (which places the cursor within the paragraph container), then at the end of each paragraph, type Option-Return to begin a new paragraph.
  33.  
  34. Back to Footer, on to Limitations, or return to Design Issues.
  35.  
  36.  
  37.  
  38.  
  39.